Asymptotic expressions for moments of number of comparisons used by the randomized quick sort algorithm
نویسنده
چکیده
We revisit the method of Kirschenhofer, Prodinger and Tichy to calculate asymptotic expressions for the moments of number of comparisons used by the randomized quick sort algorithm.
منابع مشابه
Asymptotic expansions for factorial moments of some distributions in the analysis of algorithms
We establish asymptotic expansions for factorial moments of following distributions: number of cycles in a random permutation, number of inversions in a random permutation, and number of comparisons used by the randomized quick sort algorithm. To achieve this we use singularity analysis of certain type of generating functions due to Flajolet and Odlyzko.
متن کاملRevisiting Calculation of Moments of Number of Comparisons used by the Randomized Quick Sort Algorithm
We revisit the method of Kirschenhofer, Prodinger and Tichy to calculate the moments of number of comparisons used by the randomized quick sort algorithm. We reemphasize that this approach helps in calculating these quantities with less computation. We also point out that as observed by Knuth this method also gives moments for total path length of a binary search tree built over a random set of...
متن کامل.1 Introduction 1.2 Why Randomized Algorithms
Example: Sorting algorithms. The Merge-Sort algorithm is asymptotically best deterministic algorithm. It is not too hard to describe. However, the same asymptotic running time can be achieved by the simple randomized Quick-sort algorithm. The algorithm picks a random element as a pivot and partitions the rest of the elements: those smaller than the pivot and those bigger than the pivot. Recurse...
متن کاملAsymptotic algorithm for computing the sample variance of interval data
The problem of the sample variance computation for epistemic inter-val-valued data is, in general, NP-hard. Therefore, known efficient algorithms for computing variance require strong restrictions on admissible intervals like the no-subset property or heavy limitations on the number of possible intersections between intervals. A new asymptotic algorithm for computing the upper bound of the samp...
متن کاملAnalysis and Determination of Asymptotic Behavior Range For Popular Sorting Algorithms
Theories of Computer Sciences & Engineering nowadays are being only read than being designed and practiced. Hence in this paper and [8] we have featured the theories and practices relying beneath popular sorting algorithms and their performance measurement in our experiments for the realization of efficiency class. Further we have concentrated on finding the Asymptotic Behavior Range for the tw...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید
ثبت ناماگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید
ورودعنوان ژورنال:
- CoRR
دوره abs/1610.05656 شماره
صفحات -
تاریخ انتشار 2016